//
//  PublicMethod.h
//  MeiLiProductModel
//
//  Created by B505 on 15/2/24.
//  Copyright (c) 2015年 孙晓林. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface PublicMethod : NSObject
/*对图片进行高斯模糊处理*/
+ (UIImage *)blurryImage:(UIImage *)image withBlurLevel:(CGFloat)blur;
/*使UIImageView裁剪后显示*/
+ (UIImage *)cutImage:(UIImage*)image
   WithImageViewWidth:(CGFloat)width
  WithImageViewHeight:(CGFloat)height;
/*调节字间距*/
+ (NSMutableAttributedString *)adjustLabel_LineSpacingWithString:(NSString *)Str  ForLineSpacing:(NSInteger)Spacing;
/*计算文字所占的尺寸*/
+ (CGSize)GetSizeFromString:(NSString *)string withAttributes:(NSDictionary *)attributes;
@end
